package com.ruoyi.common.constant;

public class WxConstants {

	/* 错误代码 */
	public static final int ERRCODE_01 = 40164;
	public static final int ERRCODE_02 = 50002;
	public static final int ERRCODE_03 = 40013;





	/* 小贝口袋 服务号 */
	public static final String WX_CODE_1 = "gh_44a644dea176";
	public static final String APPID_IN_SERVICE_1 = "wx4deba204171a50a2";
	public static final String APPSECRET_IN_SERVICE_1 = "82200e4b6dc3468b6300336020cfbda7";
	
	/* 有呗花 服务号 */
	public static final String APPID_IN_SERVICE_2 = "wxb9d9e668dda34ab6";
	public static final String APPSECRET_IN_SERVICE_2 = "b1ab8edbe98ba7b432d94a2bfc4c2d86";


	/* 测试号 （gh_ff9faca15c12）  */
	public static final String WX_CODE_TEST = "gh_ff9faca15c12";
	public static final String APPID_IN_TEST = "wx7ea6817d8a7a6d56";
	public static final String APPSECRET_IN_TEST = "59ab558a286a2f095d487f473e62b2d9";



	public static final String APPID_IN_SERVICE_3 = "wxefd21b3fd17350b4";
	public static final String APPSECRET_IN_SERVICE_3 = "8cb15bd1c0a5f21028282bb4db5f8c6d";
	
	/* 我自己的 */
	public static final String OPENID_ME = "ogdQ81MLXt3aoOBf3oN6b0q7cw8k";
	
	/* 小贝口袋 */
	public static String MSG_PLAN_1(String openId) {
		return "{\"touser\":\""+openId+"\",\"msgtype\":\"text\",\"text\":{\r\n" + 
				" \"content\": \"为你推荐今日下款最多的产品：\r\r"
				+ "【有借必应】  <a href='https://yjbyh5.51longyyu.com/?channel_id=160'>立即申请</a>\r"
				+ "【借了发】  <a href='https://jlfh5.51weixingjx.com/?channel_id=92'>立即申请</a>\r\r"
				+ "  多一次申请就多一次机会\r\"}}" ;
				//+ "  <a href='http://hv2.wihens.com/#/app/shop?orgin=4&channel_id=170'>点击查看更多新产品</a>\r\"}}";
	}
	/* 有呗花 */
	public static String MSG_PLAN_2(String openId) {
		return "{\"touser\":\""+openId+"\",\"msgtype\":\"text\",\"text\":{\r\n" + 
				" \"content\": \"为你推荐今日下款最多的产品：\r\r"
				+ "【有借必应】  <a href='https://yjbyh5.51longyyu.com/?channel_id=160'>立即申请</a>\r"
				+ "【小牛牛】  <a href='https://xnnh5.mymeifu.com/?channel_id=156'>立即申请</a>\r\r"
				+ "  多一次申请就多一次机会\r" 
				+ "  <a href='http://news.wihens.com/#/?channel_id=158'>点击查看更多新产品</a>\r\"}}";
	}

}
